package com.efast.dmom.mgmt.service.excel;

import java.io.File;
import java.util.List;

import com.efast.cafe.framework.bean.ResultBean;
import com.efast.dmom.mgmt.bean.excel.ExcelRuleDataBean;

public interface UploadExcelFileService {
    
	/**
	 * 
	 * @param file
	 * @param ruleData
	 * @param rowNumber
	 * @return 通过字段查询配置实现Excel上传
	 */
	public void uploadByQueryField(File chunkFile, String tableName, List<ExcelRuleDataBean> ruleData,
			Integer rowNumber);

	
	/**
	 * 
	 * @param mulfile
	 * @param rowNumber
	 * @param tableName 
	 * @param rowNumber 
	 * @return 通过配置好的规则上传文件
	 */
	public void uploadByQueryRule(File file,String tableName, Integer rowNumber);

	/**
	 * 
	 * @param chunkFile
	 * @param tableName
	 * excel模板数据上传
	 */
	public ResultBean uploadExcelFile(File chunkFile, String tableName);
	
	public void partUploadExcelFile(File chunkFile, String tableName);
	
	public void bomItemUploadExcelFile(File chunkFile, String tableName);
	




}
